package com.lsh.payment.api.model.dmallpay;

import com.lsh.payment.api.validation.ValidationMessage;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Project Name: lsh-payment
 * Author: panxudong
 * 北京链商电子商务有限公司
 * Desc: 类功能描述
 * Package Name: com.lsh.payment.api.model.dmallpay
 * Time: 2017-11-15 上午11:21
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class DMallNotifyRequest implements Serializable {

    @NotNull(message = ValidationMessage.NOT_NULL)
    private DMallNotifyRequestParam param;

    @NotBlank(message = ValidationMessage.NOT_BLANK)
    private String sign;

}
